@charset "utf-8";
header {
    font-size: 12px;
    border-bottom: 2px solid #ff6670;
    background: #fff;
    color: #b0b0b0;
    position: relative;
    z-index: 20;
    height: 100px;
    .container {
        position: relative;
        width: 1226px;
        margin: 0 auto;
        .logo {
            width: 93px;
            margin-top: 26px;
            &>a {
                width: 48px;
                height: 48px;
                position: relative;
                display: block;
                background-color: #ff6700;
                color: #757575;
                text-align: left;
                text-indent: -9999em;
                overflow: hidden;
                &::before,
                &::after {
                    content: "";
                    width: 48px;
                    height: 48px;
                    position: absolute;
                    left: 0;
                    top: 0;
                    z-index: 1;
                    transform-origin: 50% 50%;
                    transition: all .2s;
                }
                &::before {
                    background: url(../img/mi-logo.png) no-repeat 50% 50%;
                    opacity: 1;
                    transform: translate3d(0, 0, 0);
                }
                &:hover::before {
                    opacity: 0;
                    transform: translate3d(55px, 0, 0);
                }
                &::after {
                    background: url(../img/mi-home.png) no-repeat 50% 50%;
                    opacity: 0;
                    margin-left: -55px;
                    transform: translate3d(0, 0, 0);
                }
                &:hover::after {
                    opacity: 1;
                    transform: translate3d(55px, 0, 0);
                }
            }
        }
        .title {
            height: 48px;
            margin-top: 26px;
            h2 {
                line-height: 48px;
                font-size: 28px;
                color: #424242;
            }
            p {
                height: 20px;
                line-height: 20px;
                margin-top: 20px;
                margin-left: 15px;
                color: #757575;
            }
        }
        .info {
            margin-top: 30px;
            line-height: 40px;
            position: relative;
            height: 40px;
            &>a {
                padding: 0 5px;
                float: left;
                color: #757575;
            }
            &>span {
                color: #e0e0e0;
                float: left;
            }
        }
    }
}

main {
    padding-top: 38px;
    padding-bottom: 38px;
    background: #f5f5f5;
    .container {
        width: 1226px;
        margin: 0 auto;
        .car-list {
            .car-list-message {
                background-color: #fff;
                .top {
                    height: 70px;
                    line-height: 70px;
                    padding-right: 26px;
                    color: #424242;
                    &>div {
                        box-sizing: content-box;
                    }
                    .check {
                        float: left;
                        width: 110px;
                        .iconfont {
                            display: inline-block;
                            width: 18px;
                            height: 18px;
                            line-height: 18px;
                            border: 1px solid #e0e0e0;
                            margin-left: 24px;
                            margin-right: 15px;
                            background-color: #fff;
                            font-size: 20px;
                            text-align-last: center;
                            vertical-align: middle;
                            position: relative;
                            top: -1px;
                            cursor: pointer;
                        }
                    }
                    .img {
                        width: 120px;
                        float: left;
                    }
                    .name {
                        width: 380px;
                        float: left;
                    }
                    .price {
                        float: left;
                        width: 140px;
                        padding-right: 18px;
                        text-align: center;
                        color: #424242;
                    }
                    .num {
                        float: left;
                        width: 150px;
                        text-align: center;
                        color: #424242;
                    }
                    .total {
                        float: left;
                        width: 120px;
                        padding-right: 81px;
                        text-align: right;
                    }
                    .action {
                        float: left;
                        width: 80px;
                        text-align: center;
                    }
                }
                .bottom {
                    .item-box {
                        padding: 15px 26px 15px 0;
                        border-top: 1px solid #e0e0e0;
                        .item-row {
                            .check {
                                float: left;
                                width: 110px;
                                margin-top: 30px;
                                .iconfont {
                                    display: inline-block;
                                    width: 18px;
                                    height: 18px;
                                    line-height: 18px;
                                    border: 1px solid #e0e0e0;
                                    margin-left: 24px;
                                    background-color: #fff;
                                    font-size: 20px;
                                    text-align-last: center;
                                    vertical-align: middle;
                                    position: relative;
                                    top: -1px;
                                    cursor: pointer;
                                }
                            }
                            .img {
                                width: 120px;
                                height: 80px;
                                padding-right: 40px;
                                overflow: hidden;
                                float: left;
                                &>a>img {
                                    width: 80px;
                                    height: 80px;
                                }
                            }
                            .name {
                                width: 380px;
                                float: left;
                                margin-top: 25px;
                                h3 {
                                    line-height: 1;
                                    font-size: 18px;
                                    margin-top: 8px;
                                    margin-bottom: 8px;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                    overflow: hidden;
                                    &>a {
                                        color: #424242;
                                    }
                                }
                            }
                            .price {
                                font-size: 16px;
                                width: 158px;
                                padding-right: 18px;
                                text-align: center;
                                color: #424242;
                                float: left;
                                margin-top: 30px;
                            }
                            .num {
                                font-size: 16px;
                                float: left;
                                width: 150px;
                                text-align: center;
                                color: #424242;
                                margin-top: 25px;
                                .change-num {
                                    width: 150px;
                                    height: 38px;
                                    border: 1px solid #e0e0e0;
                                    text-align-last: center;
                                    background-color: #fff;
                                    position: relative;
                                    zoom: 1;
                                    &>a {
                                        float: left;
                                        width: 38px;
                                        height: 38px;
                                        line-height: 38px;
                                        color: #757575;
                                        font-size: 20px;
                                        transition: all .3s;
                                        &:hover {
                                            background-color: #e0e0e0;
                                        }
                                    }
                                    &>input {
                                        float: left;
                                        width: 72px;
                                        height: 36px;
                                        line-height: 38px;
                                        padding: 0;
                                        border-width: 0;
                                        color: #424242;
                                        font-size: 16px;
                                        text-align-last: center;
                                    }
                                }
                            }
                            .total {
                                margin-top: 30px;
                                float: left;
                                width: 201px;
                                padding-right: 70px;
                                text-align: right;
                                color: #ff6700;
                                font-size: 16px;
                            }
                            .action {
                                margin-top: 30px;
                                float: left;
                                width: 80px;
                                text-align: center;
                            }
                        }
                        .item-sub-box {
                            padding-top: 15px;
                            margin-bottom: -2px;
                            margin-left: 100px;
                            position: relative;
                            .extend-buy {
                                height: 48px;
                                line-height: 48px;
                                border: 1px solid #e0e0e0;
                                padding-left: 20px;
                                margin-bottom: -1px;
                                color: #424242;
                                transition: all .4s;
                                cursor: pointer;
                                &:hover {
                                    background-color: #fafafa;
                                }
                                i {
                                    margin-right: 15px;
                                    display: inline-block;
                                    width: 22px;
                                    height: 22px;
                                    font-size: 22px;
                                    line-height: 1;
                                    text-align: center;
                                    position: relative;
                                    top: -1;
                                }
                                &>a {
                                    margin-left: 20px;
                                    color: #ff6700;
                                }
                            }
                        }
                    }
                }
            }
            .car-list-price {
                height: 50px;
                margin-top: 10px;
                text-align: right;
                background-color: #fff;
                position: relative;
                line-height: 50px;
                &>.left {
                    &>a {
                        line-height: 50px;
                        margin-left: 32px;
                        transition: color .3s;
                        color: #757575;
                        &:hover {
                            color: #ff6700;
                        }
                    }
                    span {
                        margin-left: 16px;
                        padding-left: 16px;
                        border-left: 1px solid #eee;
                        color: #757575;
                        i {
                            color: #ff6700;
                        }
                    }
                }
                .price {
                    padding-left: 13px;
                    color: #ff6700;
                    em {
                        font-size: 25px;
                    }
                }
                &>a {
                    width: 200px;
                    height: 48px;
                    line-height: 48px;
                    font-size: 18px;
                    margin-left: 50px;
                    vertical-align: top;
                    transition: color .3s;
                    background: #ff6700;
                    border-color: #ff6700;
                    color: #fff;
                    display: inline-block;
                    border-width: 1px;
                    border-style: solid;
                    text-align: center;
                }
            }
        }
    }
}

.icon-checkbox-selected {
    color: #ff6700;
}